package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

/**
 * @author cjr
 */
@Data
@Builder
public class WebsiteDemandResponse {
    @ApiModelProperty(dataType = "WebsiteDemandResponse.Demand")
    private PageResponse2<Demand> demandPage;

    @ApiModel("WebsiteDemandResponse.Demand")
    @Data
    @Builder
    public static class Demand {
        @ApiModelProperty("头像")
        private String logo;
        @ApiModelProperty("名称")
        private String name;
        @ApiModelProperty("电话")
        private String phone;
        @ApiModelProperty("需求内容")
        private String text;
    }
}
